from threading import Thread


class Test(Thread):
    def __init__(self, work_queue, result_queue, thread_queue, logger=None, group=None, target=None, name=None,
                 args=(), kwargs=None, daemon=True):
        super(Test, self).__init__(group, target, name, args, kwargs, daemon=daemon)

    def print(self):
        print(self._args)
        print(self._kwargs)


test = Test([], [], [], args=(1, 2, 3, 4), kwargs={"a": "1", "b": "2"})
test.print()